package com.h.heal.entity;

//专题
public class Topic {
    private int topic_tid;
    private int topic_uid;
    private String topic_timestamp;
    private String topic_maintext;
    private int topic_like;

    private String topic_title;
    public Topic() {
    }

    public Topic(int topic_tid,String topic_title, int topic_uid, String topic_timestamp, String topic_maintext, int topic_like) {
        this.topic_tid = topic_tid;
        this.topic_title = topic_title;
        this.topic_uid = topic_uid;
        this.topic_timestamp = topic_timestamp;
        this.topic_maintext = topic_maintext;
        this.topic_like = topic_like;
    }

    public String getTopic_title() {
        return topic_title;
    }

    public void setTopic_title(String topic_title) {
        this.topic_title = topic_title;
    }

    public int getTopic_tid() {
        return topic_tid;
    }

    public void setTopic_tid(int topic_tid) {
        this.topic_tid = topic_tid;
    }

    public int getTopic_uid() {
        return topic_uid;
    }

    public void setTopic_uid(int topic_uid) {
        this.topic_uid = topic_uid;
    }

    public String getTopic_timestamp() {
        return topic_timestamp;
    }

    public void setTopic_timestamp(String topic_timestamp) {
        this.topic_timestamp = topic_timestamp;
    }

    public String getTopic_maintext() {
        return topic_maintext;
    }

    public void setTopic_maintext(String topic_maintext) {
        this.topic_maintext = topic_maintext;
    }

    public int getTopic_like() {
        return topic_like;
    }

    public void setTopic_like(int topic_like) {
        this.topic_like = topic_like;
    }

    @Override
    public String toString() {
        return "Topic{" +
                "topic_tid=" + topic_tid +
                "topic_title" + topic_title+
                ", topic_uid=" + topic_uid +
                ", topic_timestamp='" + topic_timestamp + '\'' +
                ", topic_maintext='" + topic_maintext + '\'' +
                ", topic_like=" + topic_like +
                '}';
    }
}
